﻿Imports Alquilaqi
Public Class CentroEstudioAgregar
    Public centroestudioForm As CentroEstudioMain

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim negocio As New CentroEstudioNegocio
        'Try

        negocio.insertarCentroEstudio(Me.DistritoText.Text, Me.CentroEstudioText.Text, Me.DireccionText.Text)

        'End If

        'Me.categoriasForm.dgvCategorias.DataSource = ""

        Me.Close()
        'Catch ex As Exception
        '    mensaje.Text = "Hubo un error al guardar"
        'End Try
    End Sub
End Class